import java.util.Date;
class Page {
    private String url;
    private Integer visitCount;
    private Date lastVisitTime;

    public void NewCount() {
        this.visitCount++;
        this.lastVisitTime = new Date();
    }

    public Page(String url) {
        this.url = url;
        this.visitCount = 0;
        this.lastVisitTime = new Date();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getVisitCount() {
        return visitCount;
    }

    public void setVisitCount(Integer visitCount) {
        this.visitCount = visitCount;
    }

    public Date getLastVisitTime() {
        return lastVisitTime;
    }

    public void setLastVisitTime(Date lastVisitTime) {
        this.lastVisitTime = lastVisitTime;
    }


}
